import request from '@/utils/request';
//查询
export function examineList(data) {
  return request({
    url: '/examine/list',
    method: 'get',
    params: data,
  });
}

//查询修改发布状态
export function Uppublish(data) {
  return request({
    url: '/examine/publish',
    method: 'POST',
    data,
  });
}
// 查询考核详情 
export function getkhxq(data) {
	return request({
		url: '/stu/examine/record/details',
		method: 'get',
		params: data
	})
}
//查询
export function organizationTree(data) {
  return request({
    url: '/admin/user/organization/organizationTree',
    method: 'get',
    params: data,
  });
}
// 获取考核图片
export function getTplist(data) {
	return request({
		url: '/stu/examine/atlas/Info',
		method: 'get',
		params: data
	})
}
//添加
export function addExa(data) {
  return request({
    url: '/examine/add',
    method: 'POST',
    data,
  });
}
// 修改
export function updateExa(data) {
  return request({
    url: '/examine/update',
    method: 'POST',
    data,
  });
}
// 删除

export function delExa(data) {
  return request({
    url: '/examine/delete',
    method: 'DELETE',
    params: data,
  });
}

// 查询图谱列表/stu/side/atlas/list

export function tpList(data) {
  return request({
    url: '/medicine/atlas/list',
    method: 'get',
    params: data,
  });
}
// 查询图谱详情

export function tpXq(data) {
  return request({
    url: '/examine/atlas/choice',
    method: 'get',
    params: data,
  });
}
//添加
export function addtp(data) {
  return request({
    url: '/examine/atlas/update',
    method: 'POST',
    data,
  });
}

// 查询图谱列表

export function getTp(data) {
  return request({
    url: '/examine/atlas/list',
    method: 'get',
    params: data,
  });
}

// 删除绑定图谱
export function delatlas(data) {
  return request({
    url: '/examine/atlas/delete',
    method: 'DELETE',
    params: data,
  });
}

// 查询考核记录
export function getKhlist(data) {
  return request({
    url: '/examine/details',
    method: 'get',
    params: data,
  });
}
